﻿using movie.tool.library.binding;

namespace movie.tool.module.film.model
{
    /// <summary>
    /// 电子书章节
    /// </summary>
    public class BookChapter : NotifyPropertyChanged
    {
        private long id;
        public long Id
        {
            get => id;
            set
            {
                id = value;
                SendPropertyChanged(nameof(Id));
            }
        }
        private string name;
        /// <summary>
        /// 章节名称.显示使用
        /// </summary>
        public string Name
        {
            get => name;
            set
            {
                name = value;
                SendPropertyChanged(nameof(Name));
            }
        }
        private int sequence;
        /// <summary>
        /// 序号,排序
        /// </summary>
        public int Sequence
        {
            get => sequence;
            set
            {
                sequence = value;
                SendPropertyChanged(nameof(Sequence));
            }
        }
    }
}
